package day04;

import java.util.Scanner;

/**
 例题
 * @author Smartloe
 * @create 2021-04-02 19:16
 */
public class IfTest {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入岳小鹏的期末成绩：(0~100）");
        int score = scan.nextInt();
        if ( score==100){
            System.out.println("奖励一台BMW");//be my wife!
        }else if (80<score&&score<=99){
            System.out.println("奖励一台iPhone 12");
        }else if (score>=60&&score<=80){
            System.out.println("奖励一台iPad");
        }else{
            System.out.println("什么奖励也没有！1");
        }
    }
}
